
using System;
using System.Collections;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
 // ERROR: Not supported in C#: OptionDeclaration
namespace NCS_CS
{
	internal partial class frmChanels : System.Windows.Forms.Form
	{
		public bool conform;
		private void Command1_Click(System.Object eventSender, System.EventArgs eventArgs)
		{
			conform = true;
			this.Visible = false;
		}

		private void Command2_Click(System.Object eventSender, System.EventArgs eventArgs)
		{
			conform = false;
			this.Visible = false;
		}

		private void frmChanels_Load(System.Object eventSender, System.EventArgs eventArgs)
		{
			conform = false;
			if (ModMain.getChanelEnable("C")) {
				Check2.CheckState = CheckState.Checked;
			} else {
				Check2.CheckState = CheckState.Unchecked;
			}
			if (ModMain.getChanelEnable("S")) {
				Check3.CheckState = CheckState.Checked;
			} else {
				Check3.CheckState = CheckState.Unchecked;
			}
			if (ModMain.getChanelEnable("C2")) {
				Check4.CheckState = CheckState.Checked;
			} else {
				Check4.CheckState = CheckState.Unchecked;
			}
			if (ModMain.getChanelEnable("S2")) {
				Check5.CheckState = CheckState.Checked;
			} else {
				Check5.CheckState = CheckState.Unchecked;
			}
		}



        private void Check2_CheckedChanged(object sender, EventArgs e)
        {

        }
	}
}
